package com.rich.common.entity;
/**
 * @Package: com.rich.house.controller
 * @Author: 张dy
 * @Date: Created in 2021/8/13 下午 7:34
 */
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbWantHouse implements Serializable {

    private Long id;

    private Long uid;

    private Long vid;

    private Long type;

    private Integer addressOne;

    private Integer addressTwo;

    private Integer addressThree;

    private Double area;

    private BigDecimal price;

    private String title;

    private String content;

    private String validTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String isDelete;

    private String status;

}